@extends('admin.layouts.application')

@section('title')
    <title>添加游戏</title>
@stop

@section('content')
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>添加游戏</h5>
                </div>
                <div class="ibox-content">
                    @include('admin.layouts.msg')
                    <form class="form-horizontal m-t" action="{{route('admin.game.store')}}"
                          method="post">
                        {{csrf_field()}}
                        <div class="form-group">
                            <label class="col-sm-3 control-label">游戏名称：</label>
                            <div class="col-sm-2">
                                <input value="" required name="name" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">游戏代号：</label>
                            <div class="col-sm-2">
                                <input value="" required name="game_code" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button class="btn btn-primary" type="submit">
                                    提交
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection
